<?php

declare(strict_types=1);

namespace App\Model;


/**
 * @property int $id
 * @property int $send_uid 送礼人
 * @property int $room_number 房间编码
 * @property int $get_uid 收礼人
 * @property int $gid 礼物id
 * @property int $num 送礼数量
 * @property int $repeat
 * @property int $cost 送礼人支出
 * @property int $profit 收礼人收益
 * @property int $diamond 钻石数
 * @property int $send_time 送礼时间时间
 * @property int $from
 * @property int $version_code
 * @property string $channel
 */
class ChatRoomGift extends Model
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'tb_chat_room_gift';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = [];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'send_uid' => 'integer', 'room_number' => 'integer', 'get_uid' => 'integer', 'gid' => 'integer', 'num' => 'integer', 'repeat' => 'integer', 'cost' => 'integer', 'profit' => 'integer', 'diamond' => 'integer', 'send_time' => 'integer', 'from' => 'integer', 'version_code' => 'integer'];
}
